<template>
<div>
  <common-head :title="$route.query.name"></common-head>
  <div class="detail-view" v-html="html">
  </div>
</div>
</template>
<script>
import CommonHead from 'components/Header'
export default {
  name: 'association',
  data () {
    return {
      html: ''
    }
  },
  components: {
    CommonHead
  },
  computed: {
  },
  created () {
    this.getNewTitles()
  },
  methods: {
    getNewTitles () {
      this.$http.showArticle({}, this.$route.query.id).then(res => {
        this.html = res.data[0].content
      })
    }
  }
}
</script>
<style lang="scss">
</style>
